﻿#ifndef HTTP_H
#define HTTP_H

#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QJsonObject>
#include <QJsonDocument>
#include <QJsonArray>
#include <QString>
#include <QApplication>
#include "overallsituation.h"
class HTTP
{
public:

public:

    HTTP();
    bool V5getCheckUser(QString pid, const QString pwd, int isFingerprintAuth);
int V5uploadLogCustom(QString fileName, QString devID, QString police_num, QString data_path);
    int V5GetUserByPoliceNum(int index,QString pid, const QString pwd);
    int GetNotice();
    int GetZFYInfo(int index,QString str);

    bool V6getCheckUser(QString pid, const QString pwd, int isFingerprintAuth);
    int V6uploadLogCustom(QString fileName, QString devID, QString police_num, QString data_path);
    int V6GetUserByPoliceNum(int index,QString pid, const QString pwd);
    bool GetClassifcationType();
    int GetPlatformInfo();
    bool GetWarnInstanceInfo(QString userID,QString divisionID,QString StartTime,QString EndTime);
    int V6ReportClientVersion(QString version);
};


#endif // HTTP_H
